import React from 'react';

const THeader = ({ columns }) => {
    return (
        <thead>
            <tr>
                {columns.map(col => (
                    <td key={col.path || col.key}>{col.label}</td>
                ))}
            </tr>
        </thead>
    );
};

export default THeader;
